#pragma once

#include <QScrollArea>
#include <QRect>

class ScrollArea : public QScrollArea
{
    Q_OBJECT

public:
    ScrollArea(QWidget *parent);

public slots:
    void onMakeVisible(const QRect & rect);

protected:
    virtual void resizeEvent(QResizeEvent * e);
};
